export default {
    stageWidth: 0,
    stageHeight: 0,

    setStageWidthAndHeight(inW, inH) {
        this.stageWidth = inW;
        this.stageHeight = inH;
    },

    getPostionInStage(inRatio, inXY) {
        if (inXY == "x") {
            return inRatio * this.stageWidth;
        } else if (inXY == "y") {
            return inRatio * this.stageHeight;
        }
    }
}